package com.xfdmao.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SimpleController {

    @RequestMapping(value="",method = RequestMethod.GET)
    public String index(){
        return "hello FCat";
    }

    @RequestMapping(value="/say",method = RequestMethod.GET)
    public String say(){
        return "FCat say";
    }
}
